package se.mbaeumer.fxtodo.core.model;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class TaskStatus {
	private IntegerProperty id = new SimpleIntegerProperty(this,"id");
	private StringProperty title = new SimpleStringProperty(this,"title");
	private StringProperty description = new SimpleStringProperty(this,"description");

	public IntegerProperty idProperty(){return this.id;}
	public int getId(){return this.id.get();}
	public void setId(int id){this.id.set(id);}
	
	public StringProperty titleProperty(){return this.title;}
	public String getTitle(){return this.title.get();}
	public void setTitle(String title){this.title.set(title);}
	
	public StringProperty descriptionProperty(){return this.description;}
	public String getDescription(){return this.description.get();}
	public void setDescription(String description){this.description.set(description);}
	
}
